#ifndef _TOOLBAR_H_
#define _TOOLBAR_H_

#include <QString>
#include <QToolBar>
#include <QComboBox>
#include <QCheckBox>
#include <QStringList>

class ToolBar : public QToolBar
{
	Q_OBJECT

public:
	ToolBar(const QString& title, QWidget* parent = 0);
	~ToolBar(){}

	QString currentSeed();
	bool getColorDialogStatus();

public slots:
	void slotUpdateSeeds(const QStringList&);

private slots:
	void slotRemoveCurrentSeed();
	void slotSeedSelected(QString);

signals:
	void emitOpenFile();
	void emitOpenDir();
	void emitSaveSource();
	void emitRemoveSource();
	void emitLinkCameras(bool);
	void emitPickSeed();
	void emitRemoveSeed(QString);
	void emitSeedSelected(QString);
	void emitCreateSurfaceSource();

private:
	QComboBox* m_comboSeeds;
	QCheckBox* m_showColorDialog;
};

extern ToolBar* g_toolBar;

#endif

